<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'log-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'requestedUrl'); ?>
		<?php echo $form->textField($model,'requestedUrl',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'requestedUrl'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'controller'); ?>
		<?php echo $form->textField($model,'controller',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'controller'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'action'); ?>
		<?php echo $form->textField($model,'action',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'action'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'module'); ?>
		<?php echo $form->textField($model,'module',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'module'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'params'); ?>
		<?php echo $form->textField($model,'params',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'params'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'accessDate'); ?>
		<?php echo $form->textField($model,'accessDate'); ?>
		<?php echo $form->error($model,'accessDate'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'accessIp'); ?>
		<?php echo $form->textField($model,'accessIp',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'accessIp'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'referralUrl'); ?>
		<?php echo $form->textField($model,'referralUrl',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'referralUrl'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->